home *** CD-ROM | disk | FTP | other *** search
- Path: taco.cc.ncsu.edu!news
- From: dksmith@eos.ncsu.edu
- Newsgroups: comp.lang.c
- Subject: URGENT (for me) Linker Problem
- Date: 1 Apr 1996 23:59:30 GMT
- Organization: North Carolina State University
- Message-ID: <4jpql2$3k2@taco.cc.ncsu.edu>
- NNTP-Posting-Host: cc04du.unity.ncsu.edu
-
- I am trying to write some C++ code that includes C functions from a C module.
- However, when I compile I get the following linker error:
- LINKER ERROR: Undefined symbol <symbol> in module <module>
- This problem persists even when I use the extern keyword to declare the
- external C functions in my C++ code. I tried then wrapping them with
- extern "C" in my declarations (in my C++ code) but that resulted in the
- following error:
- <function> was previously declared with the language "
-
- Does anyone know what I can do to get rid of these errors?
- BTW, I have all the appropriate files in my project file.
- If anyone can help me, I would appreciate it if you could send the response
- to dksmith@eos.ncsu.edu. Thanks in advance.
-
- -David Smith
-
-